package com.zhanghe.study.springcloud2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.util.function.Consumer;

/**
 * @author zh
 * @date 2021/8/27 12:16
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients   // 开启feign
public class ConsumerApp {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class,args);
    }
}
